package com.codeduck.injection.config;

import com.codeduck.injection.factory.KeyboardFactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2021-12-24
 */
@Configuration
public class FactoryBeanConfig {

    /**
     * 测试方法 {@link com.codeduck.injection.FactoryBeanConfigTest}
     */
    @Bean
    public KeyboardFactoryBean keyboardFactoryBean() {
        return new KeyboardFactoryBean();
    }
}
